// 首页
// http://youre.wangwanglong598.com:8621/app/#/

// 登录
// http://youre.wangwanglong598.com:8621/app/#/

// 接单
// http://youre.wangwanglong598.com:8621/buyer/v1/order_receiving


let token = Android.getMap("token")
localStorage.setItem("damao_tb_sd_token", token)


// 获取tokeN
function getAndroidToken() {
    let token = localStorage.getItem("token").replace(/^"|"$/g, '');
    let user = localStorage.getItem("userId").replace(/^"|"$/g, '');
    user = JSON.parse(user)
    let userId = user["data"]
    return token + "," + userId
}
getAndroidToken()


// {
// 	"code": -1,
// 	"message": "登录已失效",
// 	"data": false
// }